package com.qidian.buy.content.service;

import com.qidian.buy.entity.ContentCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qidian.buy.util.pojo.BuyResult;

/**
 * <p>
 * 内容分类 服务类
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2023-05-18
 */
public interface IContentCategoryService extends IService<ContentCategory> {

    BuyResult<ContentCategory> queryByParentId(Long parentId);

    BuyResult<ContentCategory> saveOrUpdateContentCat(ContentCategory cat);

    BuyResult deleteContentCat(Long id);
}
